﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title - FCNS.ERP</title>
    @Scripts.Render("~/bundles/modernizr")
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/bootstrap")
    @Scripts.Render("~/bundles/dataTableJs")
    @Scripts.Render("~/bundles/jqueryval")
    @RenderSection("scripts", required: false)

    @Styles.Render("~/Content/css")
    @Styles.Render("~/Content/dataTableCss")

    <script type="text/javascript">
        $(document).ready(function () {
            $.ajaxSettings.async = false;
           
            $(".dataTable").DataTable({
                "lengthMenu": [[50, 100, 200, -1], [50, 100, 200, '全部']],
                "order": [[1, "asc"]],
                "displayLength": -1
            });

            //所有列表的删除按钮提示框 

            $(".dataTable tbody").on('click', '.objDelete', function () {
                if (confirm("确定要删除吗?") == false) {
                    return false;
                }
            });
        });
    </script>
</head>
<body>
   
    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div>
            <div class="navbar-collapse collapse" id="ERP_TopMenu">
               @Html.Raw(ViewData["TopMenuList"])
            </div>
        </div>
    </div>
    <div class="container-fluid" style="padding:10px;">
        @RenderBody() 
    </div>

</body>
</html>
